﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="~/Controls/ShopOnline/MyMenuBar.ascx.cs" Inherits="ShopOnline.Controls.MyMenuBar" %>

<script type="text/javascript">
    function mainmenu() {
        $(" #nav ul ").css({ display: "none" }); // Opera Fix
        $(" #nav li").hover(function () {
            $(this).addClass('active').find('ul:first').css({ visibility: "visible", display: "none", left:"0px" }).css("z-index", "9999").slideDown(200);
        },
            function () {
                $(this).removeClass('active').find('ul:first').slideUp(200, function () { $(this).css("visibility", "hidden"); });
            });
    }

    $(document).ready(function () {
        mainmenu();
    });

</script>

<asp:Literal ID="litMenu" runat="server"></asp:Literal>